<%@ page language="java" pageEncoding="utf-8" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
          + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <base href="<%=basePath%>">

  <meta http-equiv="Content-Type" content="text/html; charset=utf8"/>

  <%@include file="/im.jsp" %>
  <script type="text/javascript" src="js/jquery.min.js"></script>

  <link href="js/jquery-ui-1.8.13/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="js/jquery-ui-1.8.13/ui/jquery-ui.js"></script>

</head>

<body>

          起始日期：<input id="startDate" name="sd"/>
          结束日期：<input id="endDate" name="sd"/>
          <input type="button" name="datenewsbt" value="确定"/>
        <script type="text/javascript">
          $("#startDate").datepicker({
            dateFormat: "yy-mm-dd",	//格式
            changeYear: true,	//可以改变年份
            firstDay: 1,	//周始日
            dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
            monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
            changeMonth: true	//可以改变月份
          });
          $("#endDate").datepicker({
            dateFormat: 'yy-mm-dd',//格式
            changeYear: true,	//可以改变年份
            firstDay: 1,	//周始日
            dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
            monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
            changeMonth: true	//可以改变月份
          });

        </script>

</body>
</html>
